@import "./variables.less";
@import "./font/font.css";
@import "./stake.css";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family:
    Helvetica Neue,
    Helvetica,
    PingFang SC,
    Hiragino Sans GB,
    Microsoft YaHei,
    Arial,
    sans-serif;
  color: var(--van-text-color);
  background-color: var(--color-background-2);

  touch-action: none;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
  font-family: "ProximaNova";
}

.container {
  max-width: 1200px !important;
  margin: auto;
}
.game_loading_div {
  background-image: url("../assets/loading.gif");
  background-size: cover; /* 覆盖整个元素区域 */
  background-repeat: no-repeat; /* 不重复图片 */
  background-position: center; /* 居中显示 */
}
::-webkit-scrollbar {
  width: 8px; /* 纵向滚动条*/
  height: 8px; /* 横向滚动条 */
  background-color: #fff;
}

/*定义滚动条轨道 内阴影*/
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  background-color: #1a2c38;
}

/*定义滑块 内阴影*/
::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  background-color: #2f4553;
  border-radius: 10px;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
//vant 组件
.van-overlay {
  padding: 1rem;
  z-index: 1002 !important;
  background: #000000bf;
}

//element 组件
.el-notification {
  background-color: #213744;
  border: none;
  color: #fff;
  .el-notification__title {
    color: #fff;
  }
  .el-notification__content {
    color: #b0bbd1;
  }
  .el-notification__closeBtn {
    color: #b0bbd1;
  }
  .el-notification__closeBtn:hover {
    color: #949eb1;
  }
}

.el-popper .el-select__popper {
  z-index: 1003 !important;
  background-color: #0f212e !important;
  color: #fff !important;
}
.el-empty {
  opacity: 0.4;
}
